package com.tanger.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description TODO
 * @Author Hchenbin
 * @Date 2023-12-22 10:38
 * @Version 1.0
 */
@Data
@ApiModel("定时任务")
public class JobDetails implements Serializable {

    @ApiModelProperty("表达式")
    private String cronExpression;
    @ApiModelProperty("Job类名")
    private String jobClassName;
    @ApiModelProperty("触发器分组名称")
    private String triggerGroupName;
    @ApiModelProperty("触发器名称")
    private String triggerName;
    @ApiModelProperty("Job分组名称")
    private String jobGroupName;
    @ApiModelProperty("Job名称")
    private String jobName;
    @ApiModelProperty("下一次触发时间")
    private String nextFireTime;
    @ApiModelProperty("上一次触发时间")
    private String previousFireTime;
    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("时区")
    private String timeZone;
    @ApiModelProperty("任务状态(NONE:未知, NORMAL:正常, PAUSED:暂停, COMPLETE:完成, ERROR:错误, BLOCKED:阻塞)")
    private String status;
}
